
from pydantic import BaseModel

#用户注册信息
class User_inf_regist(BaseModel):
    User_Name: str
    User_PWD: str
    User_Role: str
    Belong_Depart: str
    Job_Name: str
    User_TruName: str
    User_MobileNumber: str
    User_Email: str
    Register_Data: str=None
    IsQualified: int = 0
    Remark: str

#修改用户信息
class user_info_revise(BaseModel):
    User_ID: str
    User_Name: str
    User_PWD: str
    User_MobileNumber: str
    User_Email: str

#用户被审核时需要写入的信息
class User_inf_verify(BaseModel):
    Check_Date:str
    Check_Name:str
    Update_Date:str
    LegalPerson_ID:int

#用户账户密码
class name_pwd(BaseModel):
    username:str
    password:str